﻿@model IEnumerable<AvailableFrontEndViewModelType>
@{
    ViewBag.Title = "Available view models";
}
<h2>@ViewBag.Title</h2>
@foreach (var vm in Model)
{ 
    <div class="proggy-vm-type-listing">
        <h3>@vm.FriendlyName (@vm.TypeAlias)</h3>
        <p>
            In @vm.Namespace, @vm.AssemblyName</p>
        <h4>Tabs</h4>
        @foreach (var tab in vm.Tabs) { 
            <ul>
                <li>@tab.Name<ul>
                    @foreach (var propT in tab.PropertyTypes) { 
                        <li>@propT.FriendlyName</li>
                    }
                </ul></li>
            </ul>
        }
    </div>
    
}
